package com.jigu.core.exception;


import com.jigu.core.utils.ResponseMessage;

/**
 * @author Han.Sun
 */
public interface ExceptionHandler {

   <T extends Throwable> boolean support(Class<T> e);

    ResponseMessage handle(Throwable e);
}
